package com.ruoyi.app.domain;


import java.io.Serializable;
import java.util.List;


/**
 * k科室表
 * @TableName department
 */
public class Department implements Serializable {
    /**
     * 科室ID
     */
    private Long id;

    /**
     * 所属医院ID
     */
    private Long hospitalId;

    /**
     * 科室名称
     */
    private String name;

    /**
     * 状态：0停用，1启用
     */
    private Integer status;
    private List<DepartmentSmall> subs;

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", hospitalId=" + hospitalId +
                ", name='" + name + '\'' +
                ", status=" + status +
                ", subs=" + subs +
                '}';
    }

    public List<DepartmentSmall> getSubs() {
        return subs;
    }

    public void setSubs(List<DepartmentSmall> subs) {
        this.subs = subs;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}